package com.hyt.it.ogt.kq.service.gov.mapper;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.kq.service.gov.model.dto.TimeRoomInfoDTO;
import com.hyt.it.ogt.kq.service.gov.model.entity.TimeRoomExclude;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * KwTimeRoomExcludeDAO继承基类
 */
public interface TimeRoomExcludeMapper extends BaseMapper<TimeRoomExclude> {
    int batchInsert(@Param("recordList") List<TimeRoomExclude> recordList) ;

    /**
     * 获取场次信息DTO
     * @param taskId 考试任务id
     * @param timeId 批次id
     * @param roomIds 考场id，多个用英文逗号分隔
     * @return 场次信息DTO
     */
    List<TimeRoomInfoDTO> listTimeRoomInfoDTO(String taskId, String timeId, String roomIds);
}